import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import moment from 'moment'; //时间组件
import mitt from 'mitt' // 全局通知组件
import VueAnimateNumber from 'animated-number-vue3'

const app = createApp(App)
moment.locale('zh-cn');

app.config.globalProperties.$moment = moment
app.config.globalProperties.emitter = mitt()

createApp(App).use(router).use(VueAnimateNumber).mount('#app')
